class userAccount{
    async checkUserRisk(ctx) {
        //获取风险评测等级
        const res = await fetch({
            url:'/user/checkUserRisk',
            method:'GET'
        },ctx)
        return res
    }
        //获取可用余额
    async checkUserBalance(ctx) {
        const res = await fetch({
            url:'/account/capital',
            method:'GET'
        },ctx)
        return res
    }
        //获取实名认证绑定卡
    async checkUserCard(ctx) {
        const res = await fetch({
            url:'/user/currentUser',
            method:'GET'
        },ctx)
        return res
    }

    async checkUserAutobid(ctx) {
        const res = await fetch({
            url:'/user/autobidconfig',
            method:'GET'
        },ctx)
        return res
    }

    async checkUserZyhq(ctx) {
        const res = await fetch({
            url:'/zyhq/ifopen',
            method:'GET'
        },ctx)
        return res
    }



    
}

export default userAccount;